package com.hy.admin.dao;

import com.hy.admin.entity.MemberIncomeDetailEntity;
import com.hy.admin.helper.response.MemberIncomeDetailResponse;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface MemberIncomeDetailDao {
    int deleteByPrimaryKey(Long id);

    int insert(MemberIncomeDetailEntity record);

    int insertSelective(MemberIncomeDetailEntity record);

    MemberIncomeDetailEntity selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(MemberIncomeDetailEntity record);

    int updateByPrimaryKey(MemberIncomeDetailEntity record);

    List<MemberIncomeDetailResponse> selectByMemberId(Long memberId);
}